﻿<%@ Page Language="C#" MasterPageFile="~/Themes/Fantasy/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2><%=ViewData["Title"]%></h2>
<div id="submitcat">

<%=ViewData["Message"]%>

<fieldset class="MvcMembership">
    <form method="post" action="/Cat/Submit">             
        <label for="name">Name:</label>
        <input id="name" name="name" type="text" />
        <label for="url">Url:</label>
        <input id="url" name="url" type="text" />                
        <label for="description">Description:</label>
        <input id="description" name="description" type="text" />               
        <label for="firstname">FirstName:</label>
        <input id="firstname" name="firstname" type="text" />               
        <label for="lastname">LastName:</label>
        <input id="lastname" name="lastname" type="text" />                               
		<label for="cbcategory">Category:</label>				
        <%=Html.DropDownList("Key", (SelectList)ViewData["cbCategories"])%>						                    
        <label for="email">E-Mail:</label>
        <input id="email" name="email" type="text" value="" />                                       		
		
		<br />
		<input id="btn" name="btn" type="submit" value="<% = ViewData["submittext"]%>" />                
	</form>
</fieldset>		
</div>
</asp:Content>
